package edu.sdjzu.exam.domain.course;

import edu.sdjzu.exam.domain.auth.User;
import lombok.Data;
import java.time.LocalDateTime;

@Data
public class TeacherCourse {
    private Long teacherCourseId;
    private Long teacherId;
    private Long courseId;
    private String permissionType; // read, write, admin
    private Long assignedBy;
    private LocalDateTime assignedAt;
    private String status; // active, inactive
    
    // 关联对象
    private Course course;
    private User teacher;
}